package com.sunwayworld.basemodule.rm.train.exampaper.service;


import com.sunwayworld.basemodule.rm.train.exampaper.bean.LimsCoreExamPaperAnswerBean;
import com.sunwayworld.basemodule.rm.train.exampaper.bean.LimsCoreExamPaperAnswerCardDTO;
import com.sunwayworld.basemodule.rm.train.question.bean.LimsCoreQuestionOptBean;
import com.sunwayworld.framework.data.page.Pagination;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.service.GenericService;

public interface LimsCoreExamPaperAnswerService extends GenericService<LimsCoreExamPaperAnswerBean, Long> {
    
    Pagination<LimsCoreExamPaperAnswerCardDTO> selectExamPaperAnswerCardByExamPaperId(Long examPaperId);

    LimsCoreExamPaperAnswerBean selectExamPaperAnswerCardByExamPaperId(Long examPaperId, Integer orderNo);

    LimsCoreExamPaperAnswerBean selectExamPaperAnswerById(Long id);
    
    Pagination<LimsCoreQuestionOptBean> selectQuestionOptPaginationByAnswerId(Long answerId, RestJsonWrapperBean wrapper);
}